import url from '../utils/url';
import axios from '../utils/http';

const member = {
  member(data){
    return axios.post(`${url.baseUrl}/m/member`, data)
  },
  memberLogin(data) {
    return axios.post(`${url.baseUrl}/m/memberLogin`, data)
  },
  memberForget(data) {
    return axios.post(`${url.baseUrl}/m/forgotV2`, data)
  },
  getMail(check_code_token,check_code,m_name,from) {
    return axios.get(`${url.baseUrl}/m/mail/${check_code_token}/${check_code}/${m_name}/${from}?type=app`)
  }
};

export default member;